package com.cobra;

import com.cobra.entity.Student;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class HelloWorld {
	public static void main(String[] args) {
		System.out.println("Hello World");
		ClassPathXmlApplicationContext ioc = new ClassPathXmlApplicationContext("application.xml");
		Student student = ioc.getBean("student", Student.class);
		System.out.println(student);

	}
}
